<!DOCTYPE HTML>
<html>

<head>
	<title>二手电子乐园 - 专业的二手电子产品信息服务平台</title>
	<meta charset="utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
	<meta name="description" content="二手电子乐园是专业的二手电子产品信息服务平台，提供二手手机、相机、数码产品、冰箱等各类电子产品信息展示服务" />
	<meta name="keywords" content="二手电子产品,二手手机,二手相机,二手数码,二手冰箱,电子产品交易" />
	<link rel="stylesheet" href="assets/css/main.css" />
	<link rel="stylesheet" href="assets/css/fontawesome-all.min.css" />
</head>

<body class="homepage is-preload" v-scope="{ isLogin: false }" v-cloak>
	<div id="page-wrapper">

		<div id="header-container"></div>

		<!-- Intro -->
		<section id="intro" class="wrapper style1">
			<div class="title">欢迎来到二手电子乐园</div>
			<div class="container">
				<p class="style1">让闲置物品重新焕发价值，让资源得到更好的利用</p>
				<p class="style2">
					二手电子乐园是专业的<br class="mobile-hide" />
					二手电子产品信息服务平台
				</p>
				<p class="style3">我们提供<strong>安全可靠</strong>的信息展示服务，严格<strong>审核卖家信息</strong>，
					为您打造诚信的二手交易环境。平台汇聚各类优质二手电子产品，包括手机、相机、数码产品、家电等，
					让您轻松找到心仪的产品。</p>
				<ul class="actions">
					<li><a href="#main" class="button style3 large">浏览产品</a></li>
				</ul>
			</div>
		</section>

		<!-- Main -->
		<section id="main" class="wrapper style2">
			<div class="title">平台优势</div>
			<div class="container">

				<!-- Image -->
				<a href="#" class="image featured">
					<img src="https://picsum.photos/800/400?random=banner" alt="二手电子产品展示" />
				</a>

				<!-- Features -->
				<section id="features">
					<header class="style1">
						<h2>为什么选择二手电子乐园？</h2>
						<p>专业、安全、可靠的二手电子产品信息服务</p>
					</header>
					<div class="feature-list">
						<div class="row">
							<div class="col-6 col-12-medium">
								<section>
									<h3 class="icon solid fa-shield-alt">信息审核严格</h3>
									<p>所有发布的产品信息都经过严格审核，确保信息真实可靠，为用户提供安全的交易环境。</p>
								</section>
							</div>
							<div class="col-6 col-12-medium">
								<section>
									<h3 class="icon solid fa-mobile-alt">品类丰富齐全</h3>
									<p>涵盖手机、相机、数码产品、家电等各类电子产品，满足不同用户的需求。</p>
								</section>
							</div>
							<div class="col-6 col-12-medium">
								<section>
									<h3 class="icon solid fa-search">搜索便捷高效</h3>
									<p>强大的搜索和筛选功能，帮助用户快速找到心仪的产品，节省时间成本。</p>
								</section>
							</div>
							<div class="col-6 col-12-medium">
								<section>
									<h3 class="icon solid fa-users">用户体验优质</h3>
									<p>简洁清晰的界面设计，流畅的操作体验，让用户轻松浏览和查找产品信息。</p>
								</section>
							</div>
							<div class="col-6 col-12-medium">
								<section>
									<h3 class="icon solid fa-star">VIP特权服务</h3>
									<p>VIP用户享受优先展示、特殊标记、无限发布等多项特权服务。</p>
								</section>
							</div>
							<div class="col-6 col-12-medium">
								<section>
									<h3 class="icon solid fa-headset">专业客服支持</h3>
									<p>专业的客服团队提供及时的咨询和技术支持，解决用户使用过程中的问题。</p>
								</section>
							</div>
						</div>
					</div>
					<ul class="actions special">
						<li><a href="login.html" class="button style1 large">立即注册</a></li>
						<li><a href="vip.html" class="button style2 large">了解VIP</a></li>
					</ul>
				</section>

			</div>
		</section>

		<!-- Highlights -->
		<section id="highlights" class="wrapper style3">
			<div class="title">热门产品推荐</div>
			<div class="container">
				<div class="row aln-center" v-if="window.siteData && window.siteData.featuredProducts">
					<div class="col-4 col-12-medium" v-for="product in window.siteData.featuredProducts.slice(0, 3)"
						:key="product.id">
						<section class="highlight">
							<a :href="'product-detail.html?id=' + product.id" class="image featured">
								<img :src="product.image" :alt="product.title" />
							</a>
							<h3><a :href="'product-detail.html?id=' + product.id">{{ product.title }}</a></h3>
							<p>{{ product.description }}</p>
							<div class="price-info"
								style="margin: 10px 0; font-size: 1.2em; color: #e44c65; font-weight: bold;">
								¥{{ product.price }}
							</div>
							<div class="seller-info" style="font-size: 0.9em; color: #666; margin-bottom: 15px;">
								卖家：{{ product.seller.name }} | {{ product.seller.location }}
							</div>
							<ul class="actions">
								<li><a :href="'product-detail.html?id=' + product.id" class="button style1">查看详情</a>
								</li>
							</ul>
						</section>
					</div>
				</div>
				<!-- 默认显示内容（数据未加载时） -->
				<div class="row aln-center" v-else>
					<div class="col-4 col-12-medium">
						<section class="highlight">
							<a href="category.html?type=phone" class="image featured">
								<img src="https://picsum.photos/600/400?random=21" alt="二手手机" />
							</a>
							<h3><a href="category.html?type=phone">精品二手手机</a></h3>
							<p>各品牌二手手机，品质保证，价格实惠，让您以更低的价格享受高端体验。</p>
							<ul class="actions">
								<li><a href="category.html?type=phone" class="button style1">查看更多</a></li>
							</ul>
						</section>
					</div>
					<div class="col-4 col-12-medium">
						<section class="highlight">
							<a href="category.html?type=camera" class="image featured">
								<img src="https://picsum.photos/600/400?random=22" alt="二手相机" />
							</a>
							<h3><a href="category.html?type=camera">专业二手相机</a></h3>
							<p>专业摄影设备，满足摄影爱好者需求，让您用更少的预算获得专业级拍摄体验。</p>
							<ul class="actions">
								<li><a href="category.html?type=camera" class="button style1">查看更多</a></li>
							</ul>
						</section>
					</div>
					<div class="col-4 col-12-medium">
						<section class="highlight">
							<a href="category.html?type=digital" class="image featured">
								<img src="https://picsum.photos/600/400?random=23" alt="二手数码" />
							</a>
							<h3><a href="category.html?type=digital">热门数码产品</a></h3>
							<p>平板、耳机、笔记本等各类数码产品，品质优良，性价比超高。</p>
							<ul class="actions">
								<li><a href="category.html?type=digital" class="button style1">查看更多</a></li>
							</ul>
						</section>
					</div>
				</div>
			</div>
		</section>

		<div id="footer-container"></div>

	</div>

	<!-- Scripts -->
	<script src="utils/loader.js"></script>
	<script>
		// 等待所有脚本加载完成后初始化页面
		window.addEventListener('scriptsLoaded', function () {
			// 加载页头和页脚组件
			if (typeof fetchHtml !== 'undefined') {
				fetchHtml.fetchAll();
			}

			// 初始化 petite-vue
			if (typeof PetiteVue !== 'undefined') {
				PetiteVue.createApp().mount();
			}

			// 检查登录状态
			const isLogin = localStorage.getItem('isLogin') === 'true';
			if (isLogin) {
				console.log('用户已登录');
			}

			// 初始化页面交互
			$(document).ready(function () {
				// 平滑滚动
				$('a[href^="#"]').on('click', function (e) {
					e.preventDefault();
					const target = $(this.getAttribute('href'));
					if (target.length) {
						$('html, body').animate({
							scrollTop: target.offset().top
						}, 1000);
					}
				});
			});
		});
	</script>

</body>

</html>